encoding/asn1.tagAndLength.length (field)
23 uses
encoding/asn1 (current package)
asn1.go#L562: ret.length = int(b & 0x7f)
asn1.go#L570: ret.length = 0
asn1.go#L578: if ret.length >= 1<<23 {
asn1.go#L584: ret.length <<= 8
asn1.go#L585: ret.length |= int(b)
asn1.go#L586: if ret.length == 0 {
asn1.go#L593: if ret.length < 0x80 {
asn1.go#L636: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L640: offset += t.length
asn1.go#L694: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L700: innerBytes := bytes[offset : offset+t.length]
asn1.go#L730: offset += t.length
asn1.go#L753: if t.class == expectedClass && t.tag == *params.tag && (t.length == 0 || t.isCompound) {
asn1.go#L756: } else if t.length > 0 {
asn1.go#L846: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L850: innerBytes := bytes[offset : offset+t.length]
asn1.go#L851: offset += t.length
common.go#L52: class, tag, length int
marshal.go#L264: if t.length >= 128 {
marshal.go#L265: l := lengthLength(t.length)
marshal.go#L267: dst = appendLength(dst, t.length)
marshal.go#L269: dst = append(dst, byte(t.length))
marshal.go#L706: length: bodyLen + t.tag.Len(),